<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/pages/safeai/jsp/common/taglibs.jsp"%>
<html>
	<head>
		<title>产品搜索</title>
		<%@ include file="/pages/safeai/jsp/common/meta.jsp"%>
		<script type="text/javascript" src="${ctx}/script/common/common.js"></script>
		<script type="text/javascript" src="${ctx}/script/order1.js"></script>
		<link href="${ctx}/css/safeai/together.css" rel="stylesheet" type="text/css"> 
	</head>

	<body>
		<form action="${ctx}/customerManage.do?method=serachforProduct" method="post">
			<input type="hidden" name="catalogs.pname" value="${para.pname}" />
			<table align="center" width="80%">
				<tr>
				<th class="td_01">
					名称
				</th>
				<th class="td_01">
					类别
				</th>
			   <th class="td_01">
					品牌
				</th>
				<th class="td_01">
					状态
				</th>
				<th class="td_01">
					选择
				</th>
			</tr>
			<logic:present name="Ranges">
				<logic:iterate id="prodcut" name="Ranges" property="records">
						<tr>
						<td class="td_03">
							${prodcut.pname}
						</td>
						<td class="td_03">
							${prodcut.cname}
						</td>
						<td class="td_03">
							${prodcut.bname}
						</td>
						<td class="td_03">
						<logic:equal value="0" name="prodcut" property="state">即将上市</logic:equal>
						<logic:equal value="1" name="prodcut" property="state">现货</logic:equal>
						<logic:equal value="2" name="prodcut" property="state">需订货</logic:equal>
						<logic:equal value="3" name="prodcut" property="state">暂时缺货</logic:equal>
						<logic:equal value="4" name="prodcut" property="state">停产</logic:equal>
						</td>
						<td class="td_03">
						<logic:equal name="prodcut" property="specialType" value="2">
							<a href="javaScript:newOpenerHospitalVisit('${prodcut.specialPrice}','${prodcut.pname}','${prodcut.pid}','${prodcut.specialTaxprice}','特','${prodcut.freeDeliver}');">添加</a>
						</logic:equal>
						<logic:notEqual name="prodcut" property="specialType" value="2">
							<a href="javaScript:newOpenerHospitalVisit('${prodcut.price}','${prodcut.pname}','${prodcut.pid}','${prodcut.taxprice}','','${prodcut.freeDeliver}');">添加</a>
						</logic:notEqual>
						</td>
					</tr>
				</logic:iterate>
			</logic:present>
				<tr>
					<td colspan="5" align="right">
						<%@ include file="/pages/safeai/jsp/common/page.jsp"%>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>

